
<?php 

$this->widget('ext.pdfgrid.EPDFGrid', array(
	'id' => 'logs-pdf',
	'dataProvider' => $model->search(),
	'fileName' => 'logs',
	'columns' => array(
		'timestamp',
		'user',
		'ip',
		'level',
		'message',

	),
  'config'    => array(
      'title'     => Yii::app()->name,
      'subTitle' => 'Logs  List',
      'colWidths' => array(40, 40, 20, 20),
      'colAligns' => array('L','L','L','C','L'),
      'headFillColor' => array(130,0,0),
      'headTextColor' => 255,
      'evenFillColor' => array(240,240,240),
      'rowTextColor' => 50
  ),
	
)); ?>